package cn.zzuisa.bluebox.biz.device.request;

import java.io.Serializable;
import java.time.LocalDate;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("开锁记录查询条件封装实体")
public class AuthorityRecordsRequest extends Model<AuthorityRecordsRequest>  {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("授权名称")
	private String authorityName;

	@ApiModelProperty("开锁类型 1蓝牙 2NB")
	private Integer authType;

	@ApiModelProperty("到期开始时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate startTime;

	@ApiModelProperty("到期结束时间")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate endTime;

	@ApiModelProperty("记录创建时间 $le;")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private LocalDate createTime;

	@ApiModelProperty("设备锁电信识别码")
	private String deviceImei;


	@ApiModelProperty("限时0 查限时 1查限时 2查不限时")
	private Integer isLimitTime;

	@ApiModelProperty("用户手机号")
	private String memberPhone;

	@Override
	protected Serializable pkVal() {
		return null;
	}
}
